home *** CD-ROM | disk | FTP | other *** search
/ MacFormat UK 164 - Disc 2 / MF_UK_164_2.iso / DiscContents / Games / Football Manager 2006 / Install Mac FM2006 Gold Demo.dmg / FM2006 Gold Demo / data / panels / dialog buttons windows.xml < prev    next >
Encoding:
Text File  |  2005-09-25  |  1.7 KB  |  56 lines

  1. <panel>
  2.     <!-- arrange items horizontally, right aligned -->
  3.     <layout class="arrange_horizontal_attachment" alignment="right" offset="0"/>
  4.     
  5.     <!-- stick buttons to bottom of box -->
  6.     <layout class="stick_to_sides_attachment" alignment="bottom" inset="0" layout_children="true" />
  7.     
  8.     <!-- fit box to the height of the biggest button -->
  9.     <layout class="fit_children_attachment" alignment="vertical" offset="0"/>
  10.     
  11.     <widget class="action_button_blue" id="yes" text="Yes" hidn="true">
  12.         <layout class="autosize_attachment" />
  13.  
  14.         <!-- we need to specify that this is a dialog event (dialog_event=true) -->
  15.         <record id="click_event">
  16.             <flags id="event_id" value="yes" />
  17.             <flags id="dialog_event" value="true" />
  18.         </record>
  19.     </widget>
  20.     
  21.     <widget class="action_button_blue" id="ok" text="OK" hidn="true">
  22.         <layout class="autosize_attachment" />
  23.  
  24.         <!-- we need to specify that this is a dialog event (dialog_event=true) -->
  25.         <record id="click_event">
  26.             <flags id="event_id" value="ok" />
  27.             <flags id="dialog_event" value="true" />
  28.         </record>
  29.     </widget>        
  30.     
  31.     <widget class="action_button_blue" id="no" text="No" hidn="true">
  32.         <layout class="autosize_attachment" />
  33.         
  34.         <!-- we need to specify that this is a dialog event (dialog_event=true) -->
  35.         <record id="click_event">
  36.             <flags id="event_id" value="no" />
  37.             <flags id="dialog_event" value="true" />
  38.         </record>
  39.         
  40.     </widget>    
  41.     
  42.     <!-- buttons -->
  43.     <widget class="action_button_blue" id="canc" text="Cancel" hidn="true">
  44.         <layout class="autosize_attachment" />
  45.  
  46.         <!-- we need to specify that this is a dialog event (dialog_event=true) -->
  47.         <record id="click_event">
  48.             <flags id="event_id" value="cncl" />
  49.             <flags id="dialog_event" value="true" />
  50.         </record>
  51.         
  52.     </widget>
  53.     
  54.  
  55.  
  56. </panel>